
'''
@名称：石头剪刀布
@作者：Fida1214
@日期：2025/3/19
'''

print("""
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
                    游戏时间到——————快来玩游戏吧！
                    今天的游戏是——————剪刀石头布！
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
                    @游戏名称：游戏——剪刀石头布
                    @作者：Fida1214
                    @日期：2025/3/19
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
    """)
import random

win = 0
lose = 0
Game = ["剪刀","石头","布"]
while True:
    while win < 3 and lose < 3:
        robot =random.choice(Game)
        Player = input("小伙子，请出拳吧:")
        if Player == robot:
            print("平局！有点实力。")
        elif Player == "剪刀" and robot == "石头":
            print("你输了！小子。")
            lose += 1
        elif Player == "剪刀" and robot == "布":
            print("你赢了？还挺厉害的。")
            win += 1
        elif Player == "石头" and robot == "布":
            print("哈哈!你输了，有点弱噢。")
            lose += 1
        elif Player == "石头" and robot == "剪刀":
            print("可恶!算你赢了！")
            win += 1
        elif Player == "布" and robot == "剪刀":
            print("吼吼!你输了！再练几年吧！")
            lose += 1
        elif Player == "布" and robot == "石头":
            print("你赢了，不过这只是我大意了。")
            win += 1
    print("你赢了",win,"局")
    if win / 5 >= 0.6:
        print("哈哈哈，小弟佩服，小弟佩服。")
        break
    elif win / 5 == 0.4:
        print("哼哼哼还蛮厉害的嘛。")
        break
    else:
        print("一般一般，菜菜的，要不要跟咱学学？")
